/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package index;

/**
 *
 * @author Lu
 */
public class Element {

    private String xPath, type, document;

    public Element(String xPath, String type, String document) {
        this.xPath = xPath;
        this.document = document;
        this.type = type;
    }

    public String getXPath() {
        return xPath;
    }

    public String getDocument() {
        return document;
    }

    public String getType() {
        return type;
    }


    public void setXPath(String xPath) {
        this.xPath = xPath;
    }

    public void setDocument(String document) {
        this.document = document;
    }

    public void setType(String type) {
        this.type = type;
    }

    @Override
    public String toString() {
        return new StringBuffer("xPath : ").append(xPath).append(", ")
                .append("Type : ").append(type).append(", ")
                .append("Document : ").append(document)
                .toString();
    }
    
}
